<h3>Danh mục tiêu chí</h3>
<a href="javascript:void(0);" onclick="loadUrlToDivContent('/danhmuc/tieuchi/input');">Thêm mới</a>
<a href="javascript:void(0);" onclick="deleteRow('/danhmuc/tieuchi/delete');">Xóa</a>
Loại: <select name="loai" id="loai" onchange="paginatorPage('/danhmuc/tieuchi/index')">
    <option value="-1" <?php if($this->params['loai']==-1){ echo 'selected';} ?>>---Tất cả---</option>
    <option value="1" <?php if($this->params['loai']==1){ echo 'selected';} ?>>---Tư vấn thiết kế---</option>
    <option value="2" <?php if($this->params['loai']==2){ echo 'selected';} ?>>---Tư vấn giám sát---</option>
</select>
</br>
<table width="100%" border="1" cellspacing="0" cellpadding="0">
  <tr>
      <th width="25px"><input type="checkbox" onClick="toggle(this)" /></th>
    <th width="50px">STT</th>
    <th width="100%">Tên tiêu chí</th>
    <th nowrap>Điểm</th>
    <th nowrap>Thuộc loại</th>
  </tr>
  <?php
  $stt = ($this->limit * ($this->page-1));
  foreach ($this->data as $data)
  {
      $stt++;
  ?>
  <tr>
      <td><input type="checkbox" value="<?php echo $data['ID_LV'] ?>" name="selected[]" /></td>
    <td align="center"><?php echo $stt; ?></td>
    <td><a href="javascript:void(0)" onclick="loadUrlToDivContent('/danhmuc/tieuchi/input?id=<?php echo $data['ID_LV'] ?>')"><?php echo $data['NAME'] ?></a></td>
    <td align="center"><?php echo $data['DIEM']?></td>
    <td align="center"><?php if($data['TYPE']=="TVTK_KHAC"){echo 'Tư vấn thiết kế';}else{echo 'Tư vấn giám sát';}?></td>
  </tr>
  <?php
  }  
  ?>
</table>
Hiển thị: <select name="hienthi" id="hienthi" onchange="paginatorPage('/danhmuc/tieuchi/index')">
    <option value="5" <?php if($this->params['hienthi']==5){ echo 'selected';} ?>>5</option>
    <option value="10" <?php if($this->params['hienthi']==10){ echo 'selected';} ?>>10</option>
    <option value="20" <?php if($this->params['hienthi']==20){ echo 'selected';} ?>>20</option>
    <option value="50" <?php if($this->params['hienthi']==50){ echo 'selected';} ?>>50</option>
    <option value="100" <?php if($this->params['hienthi']==100){ echo 'selected';} ?>>100</option>
</select>
<?php echo $this->paginationControl($this->data, 'Sliding' , 'paginator.phtml');?>